package com.wskj.workbench.bo.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 购物车信息添加对象 tz_shop_cart
 *
 * @author wsdz
 * @date 2022-09-27
 */
@Data
@ApiModel("APP购物车信息添加对象")
public class AppTbShopCartAddBo implements Serializable {

    @ApiModelProperty(value = "店铺ID")
    private Long shopId;

    /** 单品id */
    @ApiModelProperty("单品id")
    @NotNull(message = "单品id不能为空")
    private Long skuId;

    /** 购买数量 */
    @ApiModelProperty("购买数量")
    @NotNull(message = "购买数量不能为空")
    private Integer number;
}
